package com.gzy.studentsociety.dao;

import com.gzy.studentsociety.entity.Society;
import org.apache.commons.dbutils.QueryRunner;
import org.apache.commons.dbutils.handlers.BeanHandler;

import java.sql.SQLException;
import java.util.List;

/**
 * @version: java version 1.8
 * @Author: Chuan Liu
 * @description:
 * @date: 2024-10-31 21:05
 */
public interface SocietyDao {
    Integer insertSociety(Society society) throws SQLException;
    List<Society> getAllSociety() throws SQLException;
    Integer updateSociety(Society society) throws SQLException;
    Society queryByStudentNumber(String number) throws SQLException;

}
